<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <title>注册</title>
</head>
<body>
<form action="doUserReg.php" method="post" 
enctype="multipart/form-data">
<table>
  <tr><td>姓名</td><td><input type="text" name="username"></td></tr>
  <tr><td>密码</td><td><input type="password" name="userpass"></td></tr>
  <tr><td>性别</td>
  <td><input type="radio" name="gender" value="0">男
  <input type="radio" name="gender" value="1">女
  </td></tr>
  <tr><td>生日</td>
  <td><input type="date" name="birthdate">
  </td></tr>
  
<tr><td>爱好</td>
  <td><input type="checkbox" name="hobby[]" value="旅游">旅游
  <input type="checkbox" name="hobby[]"
  value="登山">登山
  <input type="checkbox" name="hobby[]"
  value="健身">健身
  <input type="checkbox" name="hobby[]" value="上网">上网
  <input type="checkbox" name="hobby[]"
  value="唱歌">唱歌
  </td></tr>

<tr><td>学历</td>
  <td><select name="degree">
    <option value="0">请选择</option>
    <option value="1">高中</option>
    <option value="2">本科</option>
    <option value="3">硕士</option>
    <option value="4">博士</option>
  </select>
  </td></tr>

  <tr><td>自我介绍</td>
  <td><textarea name="intro"></textarea>
  </td></tr>

<tr><td>头像</td>
  <td><input type="file" name="pic">
  </td></tr>

  <tr><td><input type="submit" value="提交"></td></tr>
</table>
</form>
</body>
</html>
